==================================================
Batch in queue: 'Graphics', (0)
Fence: 'fence-0'
--------------------------------------------------
name: 'command-buffer'
{

  PipelineBarrier2
    dependencyFlags: 0
    MemoryBarrier:
      stage:  HOST ---> COPY | INDEX_INPUT | VERTEX_ATTRIBUTE_INPUT
      access: HOST_WRITE ---> INDEX_READ | VERTEX_ATTRIBUTE_READ | TRANSFER_READ
    ImageBarrier:
      name:    'image-49'
      stage:   COLOR_ATTACHMENT_OUTPUT ---> COLOR_ATTACHMENT_OUTPUT
      access:  0 ---> COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE
      layout:  UNDEFINED ---> COLOR_ATTACHMENT_OPTIMAL
  ----------

  PipelineBarrier2
    dependencyFlags: 0
    MemoryBarrier:
      stage:  COLOR_ATTACHMENT_OUTPUT ---> COLOR_ATTACHMENT_OUTPUT
      access: COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE ---> COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE
  ----------

  BeginRenderPass2
    renderPass:  'render-pass-4'
    color attachment:
      view:    'image-view-41 (image-49)'
      image:   'image-49'
      layout:  COLOR_ATTACHMENT_OPTIMAL
      loadOp:  CLEAR
  ----------

  BindVertexBuffers
    [0] buffer: 'buffer-7', offset: 0
  ----------

  Draw

  EndRenderPass2
    attachment:
      view:    'image-view-41 (image-49)'
      image:   'image-49'
      layout:  COLOR_ATTACHMENT_OPTIMAL
      storeOp: STORE
  ----------

  PipelineBarrier2
    dependencyFlags: 0
    MemoryBarrier:
      stage:  COLOR_ATTACHMENT_OUTPUT ---> COLOR_ATTACHMENT_OUTPUT
      access: COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE ---> COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE
  ----------

  BeginRenderPass2
    renderPass:  'render-pass-5'
    color attachment:
      view:    'image-view-41 (image-49)'
      image:   'image-49'
      layout:  COLOR_ATTACHMENT_OPTIMAL
      loadOp:  LOAD
  ----------

  BindVertexBuffers
    [0] buffer: 'buffer-7', offset: 64
  ----------

  Draw

  EndRenderPass2
    attachment:
      view:    'image-view-41 (image-49)'
      image:   'image-49'
      layout:  COLOR_ATTACHMENT_OPTIMAL
      storeOp: STORE
  ----------

}
--------------------------------------------------
name: 'command-buffer'
{

  PipelineBarrier2
    dependencyFlags: 0
    MemoryBarrier:
      stage:  COLOR_ATTACHMENT_OUTPUT ---> COLOR_ATTACHMENT_OUTPUT
      access: COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE ---> COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE
  ----------

  BeginRenderPass2
    renderPass:  'render-pass-5'
    color attachment:
      view:    'image-view-41 (image-49)'
      image:   'image-49'
      layout:  COLOR_ATTACHMENT_OPTIMAL
      loadOp:  LOAD
  ----------

  BindVertexBuffers
    [0] buffer: 'buffer-7', offset: 128
  ----------

  Draw

  EndRenderPass2
    attachment:
      view:    'image-view-41 (image-49)'
      image:   'image-49'
      layout:  COLOR_ATTACHMENT_OPTIMAL
      storeOp: STORE
  ----------

}
--------------------------------------------------
name: 'command-buffer'
{

  PipelineBarrier2
    dependencyFlags: 0
    ImageBarrier:
      name:    'image-49'
      stage:   COLOR_ATTACHMENT_OUTPUT ---> COPY
      access:  COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE ---> TRANSFER_READ
      layout:  COLOR_ATTACHMENT_OPTIMAL ---> TRANSFER_SRC_OPTIMAL
  ----------

  CopyImageToBuffer
    src:       'image-49'
    srcLayout: TRANSFER_SRC_OPTIMAL
    dst:       'buffer-34'
      copy { off:(0, 0, 0), ext:(800, 600, 1), COLOR } ---> { [0, 1920000) }
  ----------

  PipelineBarrier2
    dependencyFlags: 0
    MemoryBarrier:
      stage:  COPY ---> HOST
      access: TRANSFER_WRITE ---> HOST_READ
    ImageBarrier:
      name:    'image-49'
      stage:   COPY ---> ALL_COMMANDS
      access:  TRANSFER_READ ---> MEMORY_READ | MEMORY_WRITE
      layout:  TRANSFER_SRC_OPTIMAL ---> GENERAL
  ----------

}
==================================================
